//
//  ViewController.m
//  DatePicker
//
//  Created by 红沙尘 on 17/4/24.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import "ViewController.h"
//#import "SQLongitude.h"
//#import "CityView.h"
#import "DateView.h"

@interface ViewController ()<DateViewDelegate>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}


- (IBAction)show {
    
    DateView *dateView = [[DateView alloc] initWithFrame:[UIScreen mainScreen].bounds delegate:self];
    [self.view addSubview:dateView];
}

#pragma mark - CityViewDelegate

- (void)dateDidChanged:(NSString *)aDate {
    NSLog(@"aDate = %@",aDate);
}


@end
